<template>
    我是登录页面
  </template>
  
  <script setup>
import { ElMessage } from 'element-plus'
import {onMounted} from 'vue'
import {test} from '../http/api/login'


onMounted(async()=>{
  let res = await test({ })
  if(res.code){
    ElMessage({
      message: '网络连接成功',
      type:'success'
    })
   
  }
})
  </script>
  
  <style scoped>
 </style>
  